package com.zl.common.enumType;


/** 
* @ClassName: Column 
* @Description: 栏目
* @author chxl
* @date 2015-4-29 下午07:54:57 
*  
*/
public enum Column {
	GCSJ("gcjs","工程建设"),
	ZFCG("zfcg","政府采购"),
	TDJY("tdjy","土地交易"),
	GQCG("gqcg","国企采购"),
	KYQJY("kyqjy","矿业权交易");
//	HBLH("hblh","环保绿化"),
//	YLWS("ylws","医疗卫生");
	
	private String code;
	private String name;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	private Column(String code, String name) {
		this.code = code;
		this.name = name;
	}
	
	public static Column getGglb(String code) {
		for (Column t : Column.values()) {
			if ( code.equals(t.getCode())) {
				return t;
			}
		}
		return null;
	}
}
